package com.example.forumadminbackend.mapper;

import com.example.forumadminbackend.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface UserMapper {
    User selectById(@Param("userId") String userId);
    List<User> selectAll();
    int updateStatus(@Param("userId") String userId, @Param("status") Integer status);
} 